package com.sservice.service.service;

import com.sservice.model.entity.StoreAccount;

public interface IStoreAccountService {

    int deleteByPrimaryKey(Integer id);

    int insert(StoreAccount record);

    int insertSelective(StoreAccount record);

    StoreAccount selectByPrimaryKey(Integer id);

    StoreAccount selectByStoreId(String storeId);

    int updateByPrimaryKeySelective(StoreAccount record);

    int updateByPrimaryKey(StoreAccount record);

    /**
     * 增加库存
     *
     * @param record
     * @return
     */
    Object plusNumber(StoreAccount record, String userid);

}
